﻿<!doctype html>
<html lang="en" >
<head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="js/jquery-2.1.3.js"></script>
    <script type="text/javascript" src="js/highstock.js"></script>
    <script type="text/javascript" src="js/modules/exporting.js"></script>
     <script type="text/javascript" src="js/chu/chu_main_chart.js"></script>
    <script type="text/javascript" src="js/chu/chu_common.js"></script>
    <script>
        $(function () {
			$("#startdateradio").click(function(){
				var ss=$("input[name='startdate']:checked").val();
				$("#start").val(ss);
			});
			var stock = $("#stock").val();
			chu_main_chart.showdetail(stock);

			var display_detail = 0;
            $("#QueryButton").click(function () {
                var stock = $("#stock").val();
                chu_main_chart.showdetail(stock);
                var type = $("#TypeSelect  option:selected").text();
                var big = $("#BigSelect  option:selected").text();
                var start = $("#start").val();
                chu_main_chart.showchart(stock, big, type, start);
                
                }); //ajax
            });
    </script>
</head>
<body>
    <div id="input">
        <input id="stock" type="text" value="sh600000" />
        <input id="start" type="text" value="20140101" />
        <select id="TypeSelect"><option>w</option><option>m</option><option>d</option></select>
        <select id="BigSelect"></select>
        <input id="QueryButton" type="button" value="Query" />

        <label id="name"></label>
        <a id="industry1" target='_parent' href=""></a>
        <a id="industry2" target='_parent' href=""></a>
        <a id="location" target='_parent' href=""></a>
        
		<div id="startdateradio">
			<input type="radio" name="startdate" value="20130101" checked="checked"> 20130101</input>
			<input type="radio" name="startdate" value="20140101" >20140101</input>
			<input type="radio" name="startdate" value="20140601" >20140601</input>
            
		</div>
        <div id="finance"></div>

    </div>

    <div id="container" style="min-width:500px;height:300px"></div>
    <div id="container2" style="min-width:500px;height:300px"></div>
</body>
</html>